package com.zsy.service;

import com.zsy.pojo.Employee;
import com.zsy.pojo.Page;
import com.zsy.pojo.R;

import java.util.concurrent.ExecutorService;


public interface EmployeeService {

    R<Employee> login(Employee employee);

    void save(Employee employee);

    Page<Employee> findByPage(Integer page, Integer pageSize, String name);

    void update(Employee employee);

    Employee findById(long id);
}
